<%--
  Created by IntelliJ IDEA.
  User: 小蟹
  Date: 2023/12/27
  Time: 12:21
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>充值中心</title>
    <script src="../js/jquery-3.4.1min.js"></script>
    <link rel="stylesheet" href="../css/bootstrap.min.css">
    <script src="../js/popper.min.js"></script>
    <script src="../js/bootstrap.min.js"></script>
</head>
<body>
<div class="container" style="margin-top: 10%">
<div class="card">
    <div class="card-header">
        充值中心
    </div>
    <div class="card-body">
        <form action="/user/addUserCount" method="post">
            <input type="hidden" name="uid" value="${user1.uid}">
            <div class="form-group">
                <label for="exampleInputEmail1">余额：</label>
                <input type="text" value="${user1.ucount}" name="uname" class="form-control" id="exampleInputEmail1" aria-describedby="emailHelp">
            </div>
            <div class="form-group">
                <label for="exampleInputPassword1">充值数量：</label>
                <input type="number" value="0" name="num" class="form-control" id="exampleInputPassword1">
            </div>
            <button type="submit" class="btn btn-primary">Submit</button>
        </form>
<%--        <h5 class="card-title">余额：${user1.ucount}</h5>--%>
<%--        <p class="card-text">请输入充值数量</p>--%>
<%--        <form action="/user/addUserCount" method="post">--%>
<%--            数量：<input type="number" id="NumVal" name="num" value="0"/><br/>--%>
<%--            <input type="submit" value="充值"/>--%>
<%--        </form>--%>

    </div>
</div>
</div>
</body>
</html>
